// Only modify this file to include
// - function definitions (prototypes)
// - include files
// - extern variable definitions
// In the appropriate section

#ifndef Garduino_H_
#define Garduino_H_
#include "Arduino.h"
//add your includes for the project Garduino here
#include <math.h>
#include <SPI.h>
#include <Ethernet.h>
#include <temperature.h>
#include <dht.h>
#include <RTC_ds1302.h>
//#include <HttpClient.h>
//#include <Cosm.h>

//#define API_KEY "1rsQbQSosCl6MCcYursYpjfmbKGSAKx6SnZpbk51WnpKOD0g" // your Cosm API key
#define API_KEY "BOlAZBIIPtjWwRwzlX8DiRyVuQWSAKxnZlpTbEFIZXRsdz0g"
#define FEED_ID 118413 // your Cosm feed ID
#define USERAGENT      "Garduino" // user agent is the project name

#define SOIL_TRESHOLD 74

// Enter a MAC address and IP address for your controller below.
// The IP address will be dependent on your local network:
byte mac[] = { 0xDE, 0xAD, 0xBE, 0xEF, 0xEE, 0xEE };
//byte ip[] = { 192,168,1, 177 };

// Initialize the Ethernet server library
// with the IP address and port you want to use
// (port 80 is default for HTTP):
//EthernetServer server = EthernetServer(666);

RTC_ds1302 ds1302;

temperature sensors;

EthernetClient client;
//CosmClient cosmclient(client);

//end of add your includes here
#ifdef __cplusplus
extern "C" {
#endif
void loop();
void setup();
#ifdef __cplusplus
} // extern "C"
#endif

//add your function definitions for the project Garduino here




//Do not add code below this line
#endif /* Garduino_H_ */
